$COUNT has been used without $COMBDEVSON and will only ever return 1